﻿<?php
error_reporting(0);
function flashfxp($data) {
$pass = substr($data,2);
$flashfxp_key = array(y,0,A,0,3,0,6,0,z,0,A,0,4,0,8,0,d,0,E,0,h,0,f,0,r,0,v,0,g,0,h,0,G,0,R,0,g,0,5,0,7,0,h,0,5,0,U,0,l,0,D,0,v,0,3);
for ($i = 0; $i < strlen($data)-2 ; $i += 2)
	{
	$run = (Hexdec(substr($pass,$i,2)) ^ Hexdec(DecHex(ord($flashfxp_key[$i])))) - Hexdec(substr($data,$i,2));
	if ($run < 0) $run=$run+255;
	$Num .= chr($run);
	}

return $Num;
}
header('Content-Type: text/xml');
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
echo '<response>';
$name = $_GET['pass'];
$name = flashfxp($name) ;
if (trim($name) != '')
  echo htmlentities($name) ;
echo '</response>';
?>
